###
#set table = $tabdict.table
#set Table = $tabdict.Table
#set pk = $tabdict.pk
#set PTable = $tabdict.PTable
#set propertys = $tabdict.propertys
#set type = $tabdict.type
#set jtable = $tabdict.jtable
package com.kylin.module.${table.replace("_","")}.form;

import java.util.Date;

import org.apache.struts.action.ActionForm;

public class ${Table}Form extends ActionForm {

     private static final long serialVersionUID = 1L;
    // Fields    
     private Long id;
	 #for $field in $propertys
	 private ${field.type.shorttype}  ${field.name};
	 #end for
	 
	 #for  $cl in $PTable
     private Long ${cl.name}${cl.seq}id;
     #end for
   
    // Property accessors
    
    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
	#for $item in $propertys
    public ${item.type.shorttype} get${item.name.capitalize()}() {
        return this.${item.name};
    }
    
    public void set${item.name.capitalize()}(${item.type.shorttype} ${item.name}) {
        this.${item.name} = ${item.name};
    }
	#end for

	#for $item in $PTable
	
	// parent table: ${item.class}
	
    public Long get${item.name.capitalize()}${item.seq}id() {
		return ${item.name}${item.seq}id;
	}

	public void set${item.name.capitalize()}${item.seq}id(Long ${item.name}${item.seq}id) {
		this.${item.name}${item.seq}id = ${item.name}${item.seq}id;
	}
	
	#end for
}